export default {
  lsPut(key, val) {
    window.localStorage.setItem(key, JSON.stringify(val));
  },
  lsGet(key, defaultVal) {
    return JSON.parse(window.localStorage.getItem(key) || defaultVal)
  }
}
